﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SortPoliticalOfTheories
/// </summary>
public class SortPoliticalOfTheories : IComparer<PoliticalOfTheory>
{
    public int Compare(PoliticalOfTheory poli1, PoliticalOfTheory poli2)
    {
        return (poli1.PoliID < poli2.PoliID) ? 1 : ((poli1.PoliID > poli2.PoliID) ? -1 : 0);
    }
}